<a onclick="fbShare(this)" class="fb-share" href="javascript:void(0)">
    Postavi na Facebook
</a>

<script type="text/javascript">
function fbShare(a) {
	var url = 'https://www.facebook.com/sharer/sharer.php?u='+encodeURIComponent(location.href);
	var win = window.open(url, 'fb-share-win', 'width=600,height=400');
    win.focus();
}
</script>